package com.ds.infrastructure.hyperspace.console.dao.dao;

import com.ds.infrastructure.hyperspace.console.dao.mapper.TbDeployInstallTaskMapper;
import com.ds.infrastructure.hyperspace.console.entity.page.TbPageWhere;
import com.ds.infrastructure.hyperspace.console.entity.table.TbDeployInstallTask;
import com.ds.infrastructure.hyperspace.console.entity.where.TbCustomWhere;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: yaozhendong
 * @create: 2019-10-23 10:04
 **/

@Repository
public class TbDeployInstallTaskDao {
    @Autowired
    TbDeployInstallTaskMapper tbDeployInstallTaskMapper;

    public TbDeployInstallTask selectByPrimaryKey(Long id) {
        return tbDeployInstallTaskMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TbDeployInstallTask record) {
        return tbDeployInstallTaskMapper.updateByPrimaryKeySelective(record);
    }

    public int insertSelective(TbDeployInstallTask record) {
        return tbDeployInstallTaskMapper.insertSelective(record);
    }

    public List<TbDeployInstallTask> selectListForPage(TbDeployInstallTask where, TbCustomWhere mapWhere, TbPageWhere pageWhere) {
        return tbDeployInstallTaskMapper.selectListForPage(where, mapWhere, pageWhere);
    }

    public int selectListForPageCount(TbDeployInstallTask where, TbCustomWhere mapWhere) {
        return tbDeployInstallTaskMapper.selectListForPageCount(where, mapWhere);
    }
}
